//
//  ZBBScroViewCell.m
//  沙哈拉FM
//
//  Created by dllo on 15/11/6.
//  Copyright © 2015年 S1mpl3. All rights reserved.
//

#import "ZBBScroViewCell.h"

@implementation ZBBScroViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _imageView = [[UIImageView alloc]initWithFrame: CGRectMake(10 , 10 , 50, 50)];
        [self addSubview:_imageView];
        
        _topLabel = [[UILabel alloc]initWithFrame:CGRectMake(_imageView.frame.origin.x + _imageView.frame.size.width + 5,_imageView.frame.origin.y, 200, 25)];
        [self addSubview:_topLabel];
        _downLabel = [[UILabel alloc]initWithFrame:CGRectMake(_topLabel.frame.origin.x, _topLabel.frame.origin.y + _topLabel.frame.size.height + 3, _topLabel.frame.size.width, _topLabel.frame.size.height)];
        [self addSubview:_downLabel];
        _downLabel.textColor = [UIColor grayColor];
        _downLabel.font = [UIFont systemFontOfSize:15];
    }
    
    
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
